package com.py.pythink.pay.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ApiPagePayDto {
    private String out_trade_no;  //商户订单号
    private String product_code;  //产品码
    private double total_amount; //产品总金额
    private String subject;//订单标题

    public ApiPagePayDto(String out_trade_no, String product_code, double total_amount, String subject) {
        this.out_trade_no = out_trade_no;
        this.product_code = "FAST_INSTANT_TRADE_PAY";
        this.total_amount = total_amount;
        this.subject = subject;
    }
}
